import service from '@/utils/request'

// @Tags FdHealthManagerAudit
// @Summary 创建健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManagerAudit true "创建健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /fdHealthManagerAudit/createFdHealthManagerAudit [post]
export const createFdHealthManagerAudit = (data) => {
  return service({
    url: '/fdHealthManagerAudit/createFdHealthManagerAudit',
    method: 'post',
    data
  })
}

// @Tags FdHealthManagerAudit
// @Summary 删除健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManagerAudit true "删除健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /fdHealthManagerAudit/deleteFdHealthManagerAudit [delete]
export const deleteFdHealthManagerAudit = (data) => {
  return service({
    url: '/fdHealthManagerAudit/deleteFdHealthManagerAudit',
    method: 'delete',
    data
  })
}

// @Tags FdHealthManagerAudit
// @Summary 批量删除健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /fdHealthManagerAudit/deleteFdHealthManagerAudit [delete]
export const deleteFdHealthManagerAuditByIds = (data) => {
  return service({
    url: '/fdHealthManagerAudit/deleteFdHealthManagerAuditByIds',
    method: 'delete',
    data
  })
}

// @Tags FdHealthManagerAudit
// @Summary 更新健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManagerAudit true "更新健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /fdHealthManagerAudit/updateFdHealthManagerAudit [put]
export const updateFdHealthManagerAudit = (data) => {
  return service({
    url: '/fdHealthManagerAudit/updateFdHealthManagerAudit',
    method: 'put',
    data
  })
}

// @Tags FdHealthManagerAudit
// @Summary 用id查询健康师注册
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FdHealthManagerAudit true "用id查询健康师注册"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /fdHealthManagerAudit/findFdHealthManagerAudit [get]
export const findFdHealthManagerAudit = (params) => {
  return service({
    url: '/fdHealthManagerAudit/findFdHealthManagerAudit',
    method: 'get',
    params
  })
}

// @Tags FdHealthManagerAudit
// @Summary 分页获取健康师注册列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取健康师注册列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManagerAudit/getFdHealthManagerAuditList [get]
export const getFdHealthManagerAuditList = (params) => {
  return service({
    url: '/fdHealthManagerAudit/getFdHealthManagerAuditList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManagerAudit
// @Summary 获取健康师注册列表【服务中心】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取健康师注册列表【服务中心】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManagerAudit/getScHealthManagerAuditList [get]
export const getScHealthManagerAuditList = (params) => {
  return service({
    url: '/fdHealthManagerAudit/getScHealthManagerAuditList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManagerAudit
// @Summary 分页获取健康师注册列表【超管】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取健康师注册列表【超管】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManagerAudit/getAllHealthManagerAuditList [get]
export const getAllHealthManagerAuditList = (params) => {
  return service({
    url: '/fdHealthManagerAudit/getAllHealthManagerAuditList',
    method: 'get',
    params
  })
}